<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:pr="http://primefaces.prime.com.tr/ui">

    <h:head>
        <title>Admin - #{sitePref.webshopname} - #{title} </title>
        <meta name="description" content="#{sitePref.description}"/>
        <meta name="keywords" content="#{sitePref.keywords}"/>
        <meta name="author" content="#{sitePref.author}" />
        <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
        <link rel="stylesheet" href="../admin/admintemplate.css" type="text/css"/>
    </h:head>

    <body>

        <div class="menu">
            <h2>Settings</h2>
            <ul><h:form>
                    <li><h:link id="main" outcome="/main">
                            <h:outputText value="Main page"/>
                        </h:link></li>
                    <li>                               
                        <h:commandLink id="adminmain" action="main">
                            <h:outputText value="Main Settings"/>
                        </h:commandLink></li>
                    <li><h:commandLink id="addproduct" action="addproduct">
                            <h:outputText value="Add Product"/>
                        </h:commandLink></li>
                    <li><h:commandLink id="editproducts" action="editproducts">
                            <h:outputText value="Edit Products"/>
                        </h:commandLink></li>
                    <li><h:commandLink id="addcategory" action="addcategory">
                            <h:outputText value="Edit Categories"/>
                        </h:commandLink></li>
                    <li><h:commandLink id="vieworders" action="vieworders">
                            <h:outputText value="View Orders"/>
                        </h:commandLink></li>
                    <li><h:commandLink id="viewusers" action="viewusers">
                            <h:outputText value="View Users"/>
                        </h:commandLink></li>
                </h:form>
            </ul>
        </div>
        <div id="admincontainer" class="container">
            <div id="adminheader" class="header"><br/>
                <h1>Admin Header</h1>
            </div>
            <div id="adminpage" class="page">
                <ui:insert name="admincontent">Default</ui:insert>
            </div>

        </div>



    </body>

</html>


